package com.youyicloud.service;

import com.youyicloud.entity.EquipmentType;
import com.youyicloud.repository.EquipmentTypeRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EquipmentTypeService {

    @Autowired
    private EquipmentTypeRepository equipmentTypeRepository;

    public List<EquipmentType> findAll(){
        return equipmentTypeRepository.findAll();
    }
}
